package com.freechurch.view.api;

import javax.swing.JInternalFrame;

public class Form extends JInternalFrame implements Comparable<JInternalFrame> {

	private static final long serialVersionUID = -264230760037917003L;

	public Form(String title){
		super(title, true, true);
		setBounds(10, 10, 300, 200);
		this.setVisible(true);
	}

	public int compareTo(JInternalFrame frame) {
		return getTitle().compareTo(frame.getTitle());
	}
}
